class Cow:
    def __init__(self,name,weight):
        self.name = name;
        self.weight = weight;

    def shout(self):
        print("%s 重 %s斤 太重了在呻吟" %(self.name,self.weight));

    def __del__(self):
        print("%s 摔死了" % self.name);

    def __str__(self):
        return ("我是牛 我叫 %s" %self.name);